package com.example.industry.dao;

import com.example.industry.entity.User;

import java.sql.ResultSet;

public interface UserDao
{
    User findById(Integer id);
    Boolean addUser(User user);
    Boolean deleteById(Integer id);
    Boolean update(User user);
    User findByEmail(String email);
    ResultSet findProjectsByUserId(Integer userId);
}
